package com.titaniume.java1;

import org.junit.Test;

import java.util.List;

/**
 *@program: JavaSenior
 *@description:
 *@author: renfei.huang
 *@create: 2021-10-14 13:20
 */
public class DAOTest {

    @Test
    public void test1(){
        CustomerDAO dao = new CustomerDAO();
        dao.add( new Customer());
        List<Customer> list = dao.getForList(10);


        StudentDAO dao1 = new StudentDAO();
        Student student = dao1.getIndex(0);

    }

}
